package currency;


import java.rmi.RemoteException;

import NET.webserviceX.www.Currency;
import NET.webserviceX.www.CurrencyConvertorSoapProxy;

public class TestConverter {
	
	public static void main(String[] args) throws RemoteException {
		CurrencyConvertorSoapProxy convertorProxy = new CurrencyConvertorSoapProxy();

		Currency cur1 = Currency.fromString("JOD");
		Currency cur2 = Currency.fromString("USD");
		
		double rate = convertorProxy.conversionRate(cur1, cur2);
		System.out.println("---->  " + rate);
	}
}
